
            <div class="sixteen columns">
                <h2><?php __('Characters');?></h2>

                <table>
                    <tr>
                        <th><?php echo $this->Paginator->sort('name'); ?></th>
                        <th><?php echo $this->Paginator->sort('resource_points'); ?></th>
                        <th><?php echo $this->Paginator->sort('score_points'); ?></th>
                        <th><?php echo $this->Paginator->sort('created'); ?></th>
                        <th class="actions"><?php __('Actions'); ?></th>
                    </tr>
                    <?php foreach ($characters as $character): ?>

                        <tr>
                            <td><?php echo $character['Character']['name']; ?></td>
                            <td><?php echo $character['Character']['resource_points']; ?></td>
                            <td><?php echo $character['Character']['score_points']; ?></td>
                            <td><?php echo $character['Character']['created']; ?></td>
                            <td class="actions">
                                <?php echo $this->Html->link(__('View', true), array(
                                    'action' => 'view',
                                    $character['Character']['id']
                                )); ?>

                            </td>
                        </tr>
                    <?php endforeach; ?>

                </table>

                <p>
                    <?php echo $this->Paginator->counter(array(
                        'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
                    ));
                    ?>

                </p>

                <div class="paging">
                    <?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>

                    <?php echo $this->Paginator->numbers();?>

                    <?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>

                </div>
            </div>
